<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <link rel="stylesheet" href="../style/normalize.css">
  <link rel="stylesheet" href="./index.css">
  <title>好看的输入框</title>
</head>

<body>
  <span>自定义输入框</span>
  <div class="tab">
    <div class="form_auth">
      <input type="text" id="username" required>
      <label for="username">用户名</label>
      <a href="javascript:void(0);" class="clear" onclick="document.getElementById('username').value=''">×</a>
    </div>
    <div class="form_auth">
      <input type="password" id="password" required>
      <label for="password">密码</label>
      <a href="javascript:void(0);" class="clear" onclick="document.getElementById('password').value=''">×</a>
    </div>
  </div>

</body>

</html>